package com.aaa.entity;

/**
 * 商品单位实体类
 */
public class Unit {
    /**
     * id
     */
    private Integer id;

    /**
     * 商品单位
     */
    private String name;

    /**
     * 状态(0:禁用   1:启用)
     */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Unit{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", status=" + status +
                '}';
    }
}
